import React, { Component } from 'react'
import styles from './style.module.scss'
import { withRouter, RouteComponentProps } from 'react-router-dom'
import Header from '@/components/Header'

console.log('process.env NODE_ENV：', process.env.NODE_ENV)
console.log('process.env API_URL', process.env.API_URL)

interface Props extends RouteComponentProps {}
interface States {
  buttonType: string
}
class IndexPage extends Component<Props, States> {
  state = {
    buttonType: 'primary'
  }

  render() {
    return (
      <div>
        <Header history={this.props.history} />
      </div>
    )
  }
}
export default withRouter(IndexPage)
